package sctu.edu.java.year2016.team08.chenjing.day20150530.chapter9_3;

/**
 * Created by AD on 2016/5/30.
 */
public class JieKouLei implements Jiekou {
    @Override
    public void name() {
        System.out.println("my name is zeng1");
    }

    public static void main(String[] args) {
        JieKouLei B =new JieKouLei();
            B.name();
            Jiekou A = new Jiekou() {
                @Override
                public void name() {
                    System.out.println("my name is zeng2");
                }
            };
            A.name();

    }
}
